package cn.tedu.recruitmentwebsite.base.pojo.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.AccessLevel;
import lombok.Data;
import lombok.experimental.FieldDefaults;

import java.util.Date;

/**
 * 教育背景实体类
 */
@Data
@FieldDefaults(level = AccessLevel.PRIVATE)
public class JobSeekerEducationExperience {
    @ApiModelProperty(value = "教育背景id")
    private Long id;
    @ApiModelProperty(value = "在线简历id")
    private Long onlineResumesId;
    @ApiModelProperty(value = "学校名称")
    private String schoolName;
    @ApiModelProperty(value = "学历")
    private String degree;
    @JsonFormat(pattern = "yyyy.MM.dd", timezone = "GMT+8")
    @ApiModelProperty(value = "入学时间")
    private Date startDate;
    @JsonFormat(pattern = "yyyy.MM.dd", timezone = "GMT+8")
    @ApiModelProperty(value = "毕业时间")
    private Date endDate;
    @ApiModelProperty(value = "描述")
    private String description;
    @ApiModelProperty(value = "专业")
    private String major;
}
